﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Benefit.Models.Sys;
using Benefit.Models.Month;
namespace Benefit.Interface.Month
{
    /// <summary>
    /// 盈利或亏损所占的Tick
    /// </summary>
    public interface IGroupMonthWinOrLoseTick
    {

        void Delete(int tradeHistoryId);

        void InitGroupMonthWinOrLoseTick(int tradeHistoryId, bool win);

        List<GroupMonthWinOrLoseTick> GetGroupMonthWinOrLoseTick(int groupId, int month, int year, bool win);

        List<GroupMonthWinOrLoseTick> GetSortedGroupMonthWinOrLoseTick(int groupId, int month, int year, bool win);



        bool HasSettlemented(int groupId, int month, int year, bool win);
    }
}